%h1
  <%= class_name %> controller, show action
%p
  Edit this file in
  %tt
    app/views/<%= file_name %>/show.html.haml
<% for property in properties -%>
%p
  %b
    <%= DataMapper::Inflection.humanize(property.field) %>:
  =h @<%= singular_model %>.<%= property.getter %>
<% end -%>

= link_to 'Edit',  resource(@<%= singular_model %>, :edit)
|
= link_to 'Back', resource(:<%= plural_model %>)